<template>
  <div>
    <div class="header">
      <div class="header-title">叩丁狼商品管理系统</div>
      <!--  -->
      <i class="el-icon-menu ccc" @click="opens"></i>
      <!--  -->
      <section data-v-49453692="" class="headerTitle-r">
        <div data-v-49453692="" class="gongju">
          <span @mouseover="mousa">
            admin <i data-v-49453692="" class="el-icon-caret-bottom"></i
          ></span>
          <!-- <ul data-v-49453692="" style="display: block">
            <li data-v-49453692="" tabindex="-1">退出登录</li>
          </ul> -->
          <ul
            data-v-49453692=""
            class="tuichu"
            :style="{ display: mous ? 'block' : 'none' }"
            @mouseout="mousb"
          >
            <li data-v-49453692="" tabindex="-1" class="tuichudenglu">
              <!---->退出登录
            </li>
            <div class="shanjiao"></div>
          </ul>
        </div>
      </section>
      <!--  -->
      <!--  -->
    </div>
  </div>
</template>

<script>
// @ is an alias to /src

export default {
  name: "Home",
  components: {},
  data() {
    return {
      mous: false,
    };
  },
  methods: {
    opens() {},
    mousa() {
      this.mous = true;
    },
    mousb() {
      this.mous = false;
    },
  },
};
</script>



<style lang = "less" scoped>
.header {
  width: 100%;
  height: 70px;
  color: #fff;
  background-color: #409eff;
  .header-title {
    float: left;
    padding: 0 15px;
    line-height: 70px;
    font-size: 22px;
  }
  .ccc {
    line-height: 70px;
  }
  .headerTitle-r {
    float: right;
    position: relative;
    top: 0;
    right: 20px;
    line-height: 70px;
    .gongju {
      .tuichudenglu {
        text-align: center;
        width: 100px;
        height: 50px;
        line-height: 50px;
        background-color: #fff;
        list-style: none;
        color: #333;
        position: absolute;
        top: 60px;
        right: 0px;
        z-index: 1000;
        border-radius: 5px;
      }
      .shanjiao {
        position: absolute;
        top: 50px;
        right: 20px;
        z-index: 10000;
        border-top: 0px solid transparent;
        border-bottom: 10px solid #fff;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
      }
    }
  }
}
</style>
